package com.ls.service;

import com.ls.entity.Employee;
import com.ls.entity.JsonResult;

import java.util.List;



public interface IEmployeeService {
	
	public JsonResult<Employee> checkLogin(String email, String password);
	public JsonResult<List<Employee>> findAllEmployee();
	public JsonResult<List<Employee>> findEmployeeFenye(int pageId, int num);
	public JsonResult<Object> insertEmployee(String emp_name, int age, String email, String password, int dept_id, String hire_date, String info);
	public JsonResult<Object> deleteByIdEmp(String[] emp_id);
	public JsonResult<List<Employee>> findName(String name, int pageId, int num);
	
	public JsonResult<Employee> showEmp(int emp_id);
	public JsonResult<Object> updateEmployee(Employee employee);
	
	public JsonResult<Object> upinfo(int emp_id, String emp_name, String email, String info);
	public JsonResult<Object> uppwd(int emp_id,String password);
	public JsonResult<Employee> selectpwd(int emp_id,String password);
	
}
